PGetPageID(short nPageNumber);
Specify a page number in the publication.
This query returns an unsigned long containing the PageMaker internal ID for the specified page.Page ID stays with page. While the number of a page may change (if you insert or delete a page), its ID remains the same: A page is independent of its page number.
If you assign private data to a page and the page is subsequently renumbered, you can still access the private data using the page ID.
Example.
PNew(20);
// create new 20 page pub
// expected reply 17
PGetPageID pageID(15);
// page 15 becomes page 13
PRemovePages(13, 14);
// expected reply 19
PGetPageID pageID2(15);
Comments or suggestions? Contact Adobe Developer Support